﻿using ED.FreeSql.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace ED.Entity
{
    /// <summary>
    ///  Base_Dictionary    
    /// </summary>
    [Table("Base_Dictionary")]
    public class Base_DictionaryEntity : BaseEntity<int>
    {

        /// <summary>
        /// 字典名称    
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 字典编码    
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 字典值    
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 是否启用    
        /// </summary>
        public bool? Active { get; set; }

        /// <summary>
        /// 父级id    
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 排序    
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 备注    
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 创建时间    
        /// </summary>
        public DateTime? CreatedDate { get; set; }

        /// <summary>
        /// 创建人    
        /// </summary>
        public int? CreatedBy { get; set; }

        /// <summary>
        /// 更新时间    
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 更新人    
        /// </summary>
        public int? UpdatedBy { get; set; }

        /// <summary>
        /// 是否删除    
        /// </summary>
        public bool? IsDeleted { get; set; }

        /// <summary>
        /// 标签    
        /// </summary>
        public string Tags { get; set; }

    }
}
